import requests
import os
from bs4 import BeautifulSoup
from urllib.request import urlretrieve

#url='http://pythonscraping.com/'
url='https://v.gxnews.com.cn/zt/2020yq'
html=requests.get(url)
bs=BeautifulSoup(html.text,'html.parser')
print(bs.title.get_text())
print(bs)

#urlretrieve('http://pythonscraping.com/img/lrg%20(1).jpg','2.jpg')
